//
//  FacebookPopViewController.m
//  myDemo2
//
//  Created by wuxueying on 14-5-5.
//
//

#import "FacebookPopViewController.h"

@interface FacebookPopViewController () {
    NSArray *dataArray;
}
@end
@implementation FacebookPopViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    dataArray = @[@"POPSpringPOPLayerSize",@"POPSpringPOPLayerPosition",@"POPSpringPOPViewFrame",@"POPBasicPOPViewAlpha",@"CombinePOPbox"];
}

- (IBAction)pushToPage:(UIButton *)sender {
    Class class = NSClassFromString(sender.titleLabel.text);
    UIViewController *ctrl = [[class alloc] initWithNibName:sender.titleLabel.text bundle:nil];
    [self.navigationController pushViewController:ctrl animated:YES];
}
@end
